<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>

<title>ForwardGenerator (randoop 4.1.0 API)</title>

<link rel="stylesheet" type="text/css" href="../../javadocstyle.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
    try {
        if (location.href.indexOf('is-external=true') == -1) {
            parent.document.title="ForwardGenerator (randoop 4.1.0 API)";
        }
    }
    catch(err) {
    }
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../randoop/generation/EverythingIsDifferentMatcher.html" title="class in randoop.generation"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../randoop/generation/ForwardGenerator.VarAndSeq.html" title="class in randoop.generation"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?randoop/generation/ForwardGenerator.html" target="_top">Frames</a></li>
<li><a href="ForwardGenerator.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">randoop.generation</div>
<h2 title="Class ForwardGenerator" class="title">Class ForwardGenerator</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="../../randoop/generation/AbstractGenerator.html" title="class in randoop.generation">randoop.generation.AbstractGenerator</a></li>
<li>
<ul class="inheritance">
<li>randoop.generation.ForwardGenerator</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">ForwardGenerator</span>
extends <a href="../../randoop/generation/AbstractGenerator.html" title="class in randoop.generation">AbstractGenerator</a></pre>
<div class="block">Randoop's forward, component-based generator.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!--   -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ForwardGenerator.VarAndSeq.html" title="class in randoop.generation">ForwardGenerator.VarAndSeq</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="https://docs.oracle.com/javase/8/docs/api/java/util/LinkedHashSet.html?is-external=true" title="class or interface in java.util">LinkedHashSet</a>&lt;<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ForwardGenerator.html#allSequences">allSequences</a></span></code>
<div class="block">The set of ALL sequences ever generated, including sequences that were executed and then
 discarded.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ForwardGenerator.html#allsequencesAsCode">allsequencesAsCode</a></span></code>
<div class="block">Set and used only if <a href="../../randoop/main/GenInputsAbstract.html#debug_checks"><code>GenInputsAbstract.debug_checks</code></a>==true.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ForwardGenerator.html#allsequencesAsList">allsequencesAsList</a></span></code>
<div class="block">Set and used only if <a href="../../randoop/main/GenInputsAbstract.html#debug_checks"><code>GenInputsAbstract.debug_checks</code></a>==true.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="../../randoop/generation/InputSequenceSelector.html" title="interface in randoop.generation">InputSequenceSelector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ForwardGenerator.html#inputSequenceSelector">inputSequenceSelector</a></span></code>
<div class="block">How to select sequences as input for creating new sequences.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../../randoop/reflection/TypeInstantiator.html" title="class in randoop.reflection">TypeInstantiator</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ForwardGenerator.html#instantiator">instantiator</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../randoop/operation/TypedOperation.html" title="class in randoop.operation">TypedOperation</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ForwardGenerator.html#observers">observers</a></span></code>
<div class="block">The side-effect-free observer methods.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../../randoop/generation/TypedOperationSelector.html" title="interface in randoop.generation">TypedOperationSelector</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ForwardGenerator.html#operationSelector">operationSelector</a></span></code>
<div class="block">How to select the method to use for creating a new sequence.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ForwardGenerator.html#runtimePrimitivesSeen">runtimePrimitivesSeen</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ForwardGenerator.html#subsumed_sequences">subsumed_sequences</a></span></code>
<div class="block">Sequences that are used in other sequences (and are thus redundant)</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.randoop.generation.AbstractGenerator">
<!--   -->
</a>
<h3>Fields inherited from class&nbsp;randoop.generation.<a href="../../randoop/generation/AbstractGenerator.html" title="class in randoop.generation">AbstractGenerator</a></h3>
<code><a href="../../randoop/generation/AbstractGenerator.html#checkGenerator">checkGenerator</a>, <a href="../../randoop/generation/AbstractGenerator.html#componentManager">componentManager</a>, <a href="../../randoop/generation/AbstractGenerator.html#currSeq">currSeq</a>, <a href="../../randoop/generation/AbstractGenerator.html#dump_sequences">dump_sequences</a>, <a href="../../randoop/generation/AbstractGenerator.html#executionVisitor">executionVisitor</a>, <a href="../../randoop/generation/AbstractGenerator.html#invalidSequenceCount">invalidSequenceCount</a>, <a href="../../randoop/generation/AbstractGenerator.html#limits">limits</a>, <a href="../../randoop/generation/AbstractGenerator.html#listenerMgr">listenerMgr</a>, <a href="../../randoop/generation/AbstractGenerator.html#num_failing_sequences">num_failing_sequences</a>, <a href="../../randoop/generation/AbstractGenerator.html#num_sequences_generated">num_sequences_generated</a>, <a href="../../randoop/generation/AbstractGenerator.html#num_steps">num_steps</a>, <a href="../../randoop/generation/AbstractGenerator.html#operationHistory">operationHistory</a>, <a href="../../randoop/generation/AbstractGenerator.html#operations">operations</a>, <a href="../../randoop/generation/AbstractGenerator.html#outErrorSeqs">outErrorSeqs</a>, <a href="../../randoop/generation/AbstractGenerator.html#outputTest">outputTest</a>, <a href="../../randoop/generation/AbstractGenerator.html#outRegressionSeqs">outRegressionSeqs</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../randoop/generation/ForwardGenerator.html#ForwardGenerator-java.util.List-java.util.Set-randoop.main.GenInputsAbstract.Limits-randoop.generation.ComponentManager-randoop.generation.IStopper-randoop.generation.RandoopListenerManager-java.util.Set-">ForwardGenerator</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../randoop/operation/TypedOperation.html" title="class in randoop.operation">TypedOperation</a>&gt;&nbsp;operations,
                <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../randoop/operation/TypedOperation.html" title="class in randoop.operation">TypedOperation</a>&gt;&nbsp;observers,
                <a href="../../randoop/main/GenInputsAbstract.Limits.html" title="class in randoop.main">GenInputsAbstract.Limits</a>&nbsp;limits,
                <a href="../../randoop/generation/ComponentManager.html" title="class in randoop.generation">ComponentManager</a>&nbsp;componentManager,
                <a href="../../randoop/generation/IStopper.html" title="interface in randoop.generation">IStopper</a>&nbsp;stopper,
                <a href="../../randoop/generation/RandoopListenerManager.html" title="class in randoop.generation">RandoopListenerManager</a>&nbsp;listenerManager,
                <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../randoop/types/ClassOrInterfaceType.html" title="class in randoop.types">ClassOrInterfaceType</a>&gt;&nbsp;classesUnderTest)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../randoop/generation/ForwardGenerator.html#ForwardGenerator-java.util.List-java.util.Set-randoop.main.GenInputsAbstract.Limits-randoop.generation.ComponentManager-randoop.generation.RandoopListenerManager-java.util.Set-">ForwardGenerator</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../randoop/operation/TypedOperation.html" title="class in randoop.operation">TypedOperation</a>&gt;&nbsp;operations,
                <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../randoop/operation/TypedOperation.html" title="class in randoop.operation">TypedOperation</a>&gt;&nbsp;observers,
                <a href="../../randoop/main/GenInputsAbstract.Limits.html" title="class in randoop.main">GenInputsAbstract.Limits</a>&nbsp;limits,
                <a href="../../randoop/generation/ComponentManager.html" title="class in randoop.generation">ComponentManager</a>&nbsp;componentManager,
                <a href="../../randoop/generation/RandoopListenerManager.html" title="class in randoop.generation">RandoopListenerManager</a>&nbsp;listenerManager,
                <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../randoop/types/ClassOrInterfaceType.html" title="class in randoop.types">ClassOrInterfaceType</a>&gt;&nbsp;classesUnderTest)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>private <a href="../../randoop/sequence/ExecutableSequence.html" title="class in randoop.sequence">ExecutableSequence</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ForwardGenerator.html#createNewUniqueSequence--">createNewUniqueSequence</a></span>()</code>
<div class="block">Tries to create a new sequence.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ForwardGenerator.html#determineActiveIndices-randoop.sequence.ExecutableSequence-">determineActiveIndices</a></span>(<a href="../../randoop/sequence/ExecutableSequence.html" title="class in randoop.sequence">ExecutableSequence</a>&nbsp;seq)</code>
<div class="block">Determines what indices in the given sequence are active.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/LinkedHashSet.html?is-external=true" title="class or interface in java.util">LinkedHashSet</a>&lt;<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ForwardGenerator.html#getAllSequences--">getAllSequences</a></span>()</code>
<div class="block">Return all sequences generated by this object.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ForwardGenerator.html#getSubsumedSequences--">getSubsumedSequences</a></span>()</code>
<div class="block">Returns the set of sequences that are included in other sequences to generate inputs (and, so,
 are subsumed by another sequence).</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ForwardGenerator.html#initializeRuntimePrimitivesSeen--">initializeRuntimePrimitivesSeen</a></span>()</code>
<div class="block">The runtimePrimitivesSeen set contains primitive values seen during generation/execution and is
 used to determine new values that should be added to the component set.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ForwardGenerator.html#newRegressionTestHook-randoop.sequence.Sequence-">newRegressionTestHook</a></span>(<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&nbsp;sequence)</code>
<div class="block">Take action based on the given <a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence"><code>Sequence</code></a> that was classified as a regression test.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ForwardGenerator.html#numGeneratedSequences--">numGeneratedSequences</a></span>()</code>
<div class="block">Returns the count of sequences generated so far by the generator.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>(package private) <a href="../../randoop/generation/ForwardGenerator.VarAndSeq.html" title="class in randoop.generation">ForwardGenerator.VarAndSeq</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ForwardGenerator.html#randomVariable-randoop.util.SimpleList-randoop.types.Type-boolean-">randomVariable</a></span>(<a href="../../randoop/util/SimpleList.html" title="interface in randoop.util">SimpleList</a>&lt;<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&gt;&nbsp;candidates,
              <a href="../../randoop/types/Type.html" title="class in randoop.types">Type</a>&nbsp;inputType,
              boolean&nbsp;isReceiver)</code>
<div class="block">Return a variable of the given type.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ForwardGenerator.html#randoopConsistencyTest2-randoop.sequence.Sequence-">randoopConsistencyTest2</a></span>(<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&nbsp;newSequence)</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ForwardGenerator.html#randoopConsistencyTests-randoop.sequence.Sequence-">randoopConsistencyTests</a></span>(<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&nbsp;newSequence)</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>private <a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ForwardGenerator.html#repeat-randoop.sequence.Sequence-randoop.operation.TypedOperation-int-">repeat</a></span>(<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&nbsp;seq,
      <a href="../../randoop/operation/TypedOperation.html" title="class in randoop.operation">TypedOperation</a>&nbsp;operation,
      int&nbsp;times)</code>
<div class="block">Adds the given operation to a new <code>Sequence</code> with the statements of this object as a
 prefix, repeating the operation the given number of times.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>private <a href="../../randoop/generation/InputsAndSuccessFlag.html" title="class in randoop.generation">InputsAndSuccessFlag</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ForwardGenerator.html#selectInputs-randoop.operation.TypedOperation-">selectInputs</a></span>(<a href="../../randoop/operation/TypedOperation.html" title="class in randoop.operation">TypedOperation</a>&nbsp;operation)</code>
<div class="block">This method is responsible for doing two things:

 
   Selecting at random a collection of sequences that can be used to create input values for
       the given statement, and
   Selecting at random valid indices to the above sequence specifying the values to be used
       as input to the statement.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../randoop/sequence/ExecutableSequence.html" title="class in randoop.sequence">ExecutableSequence</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ForwardGenerator.html#step--">step</a></span>()</code>
<div class="block">Attempt to generate a test (a sequence).</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ForwardGenerator.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.randoop.generation.AbstractGenerator">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;randoop.generation.<a href="../../randoop/generation/AbstractGenerator.html" title="class in randoop.generation">AbstractGenerator</a></h3>
<code><a href="../../randoop/generation/AbstractGenerator.html#createAndClassifySequences--">createAndClassifySequences</a>, <a href="../../randoop/generation/AbstractGenerator.html#getErrorTestSequences--">getErrorTestSequences</a>, <a href="../../randoop/generation/AbstractGenerator.html#getOperationHistory--">getOperationHistory</a>, <a href="../../randoop/generation/AbstractGenerator.html#getRegressionSequences--">getRegressionSequences</a>, <a href="../../randoop/generation/AbstractGenerator.html#numAttemptedSequences--">numAttemptedSequences</a>, <a href="../../randoop/generation/AbstractGenerator.html#numOutputSequences--">numOutputSequences</a>, <a href="../../randoop/generation/AbstractGenerator.html#outputSequenceCount--">outputSequenceCount</a>, <a href="../../randoop/generation/AbstractGenerator.html#setCurrentSequence-randoop.sequence.Sequence-">setCurrentSequence</a>, <a href="../../randoop/generation/AbstractGenerator.html#setExecutionVisitor-randoop.ExecutionVisitor-">setExecutionVisitor</a>, <a href="../../randoop/generation/AbstractGenerator.html#setExecutionVisitor-java.util.List-">setExecutionVisitor</a>, <a href="../../randoop/generation/AbstractGenerator.html#setOperationHistoryLogger-randoop.generation.OperationHistoryLogInterface-">setOperationHistoryLogger</a>, <a href="../../randoop/generation/AbstractGenerator.html#setTestCheckGenerator-randoop.test.TestCheckGenerator-">setTestCheckGenerator</a>, <a href="../../randoop/generation/AbstractGenerator.html#setTestPredicate-java.util.function.Predicate-">setTestPredicate</a>, <a href="../../randoop/generation/AbstractGenerator.html#shouldStop--">shouldStop</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!--   -->
</a>
<h3>Field Detail</h3>
<a name="allSequences">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allSequences</h4>
<pre>private final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/LinkedHashSet.html?is-external=true" title="class or interface in java.util">LinkedHashSet</a>&lt;<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&gt; allSequences</pre>
<div class="block">The set of ALL sequences ever generated, including sequences that were executed and then
 discarded.

 <p>This must be ordered by insertion to allow for flaky test history collection in <a href="../../randoop/main/GenTests.html#printSequenceExceptionError-randoop.generation.AbstractGenerator-randoop.sequence.SequenceExceptionError-"><code>GenTests.printSequenceExceptionError(AbstractGenerator, SequenceExceptionError)</code></a>.</div>
</li>
</ul>
<a name="observers">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>observers</h4>
<pre>private final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../randoop/operation/TypedOperation.html" title="class in randoop.operation">TypedOperation</a>&gt; observers</pre>
<div class="block">The side-effect-free observer methods.</div>
</li>
</ul>
<a name="subsumed_sequences">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>subsumed_sequences</h4>
<pre>private&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&gt; subsumed_sequences</pre>
<div class="block">Sequences that are used in other sequences (and are thus redundant)</div>
</li>
</ul>
<a name="allsequencesAsCode">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allsequencesAsCode</h4>
<pre>private final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt; allsequencesAsCode</pre>
<div class="block">Set and used only if <a href="../../randoop/main/GenInputsAbstract.html#debug_checks"><code>GenInputsAbstract.debug_checks</code></a>==true. This set contains the same
 set of components as the set "allsequences" above, but stores them as strings obtained via the
 toCodeString() method.</div>
</li>
</ul>
<a name="allsequencesAsList">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allsequencesAsList</h4>
<pre>private final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&gt; allsequencesAsList</pre>
<div class="block">Set and used only if <a href="../../randoop/main/GenInputsAbstract.html#debug_checks"><code>GenInputsAbstract.debug_checks</code></a>==true.</div>
</li>
</ul>
<a name="instantiator">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>instantiator</h4>
<pre>private final&nbsp;<a href="../../randoop/reflection/TypeInstantiator.html" title="class in randoop.reflection">TypeInstantiator</a> instantiator</pre>
</li>
</ul>
<a name="inputSequenceSelector">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>inputSequenceSelector</h4>
<pre>private final&nbsp;<a href="../../randoop/generation/InputSequenceSelector.html" title="interface in randoop.generation">InputSequenceSelector</a> inputSequenceSelector</pre>
<div class="block">How to select sequences as input for creating new sequences.</div>
</li>
</ul>
<a name="operationSelector">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>operationSelector</h4>
<pre>private final&nbsp;<a href="../../randoop/generation/TypedOperationSelector.html" title="interface in randoop.generation">TypedOperationSelector</a> operationSelector</pre>
<div class="block">How to select the method to use for creating a new sequence.</div>
</li>
</ul>
<a name="runtimePrimitivesSeen">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>runtimePrimitivesSeen</h4>
<pre>private&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt; runtimePrimitivesSeen</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="ForwardGenerator-java.util.List-java.util.Set-randoop.main.GenInputsAbstract.Limits-randoop.generation.ComponentManager-randoop.generation.RandoopListenerManager-java.util.Set-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ForwardGenerator</h4>
<pre>public&nbsp;ForwardGenerator(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../randoop/operation/TypedOperation.html" title="class in randoop.operation">TypedOperation</a>&gt;&nbsp;operations,
                        <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../randoop/operation/TypedOperation.html" title="class in randoop.operation">TypedOperation</a>&gt;&nbsp;observers,
                        <a href="../../randoop/main/GenInputsAbstract.Limits.html" title="class in randoop.main">GenInputsAbstract.Limits</a>&nbsp;limits,
                        <a href="../../randoop/generation/ComponentManager.html" title="class in randoop.generation">ComponentManager</a>&nbsp;componentManager,
                        <a href="../../randoop/generation/RandoopListenerManager.html" title="class in randoop.generation">RandoopListenerManager</a>&nbsp;listenerManager,
                        <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../randoop/types/ClassOrInterfaceType.html" title="class in randoop.types">ClassOrInterfaceType</a>&gt;&nbsp;classesUnderTest)</pre>
</li>
</ul>
<a name="ForwardGenerator-java.util.List-java.util.Set-randoop.main.GenInputsAbstract.Limits-randoop.generation.ComponentManager-randoop.generation.IStopper-randoop.generation.RandoopListenerManager-java.util.Set-">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ForwardGenerator</h4>
<pre>public&nbsp;ForwardGenerator(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../randoop/operation/TypedOperation.html" title="class in randoop.operation">TypedOperation</a>&gt;&nbsp;operations,
                        <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../randoop/operation/TypedOperation.html" title="class in randoop.operation">TypedOperation</a>&gt;&nbsp;observers,
                        <a href="../../randoop/main/GenInputsAbstract.Limits.html" title="class in randoop.main">GenInputsAbstract.Limits</a>&nbsp;limits,
                        <a href="../../randoop/generation/ComponentManager.html" title="class in randoop.generation">ComponentManager</a>&nbsp;componentManager,
                        <a href="../../randoop/generation/IStopper.html" title="interface in randoop.generation">IStopper</a>&nbsp;stopper,
                        <a href="../../randoop/generation/RandoopListenerManager.html" title="class in randoop.generation">RandoopListenerManager</a>&nbsp;listenerManager,
                        <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../randoop/types/ClassOrInterfaceType.html" title="class in randoop.types">ClassOrInterfaceType</a>&gt;&nbsp;classesUnderTest)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="newRegressionTestHook-randoop.sequence.Sequence-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newRegressionTestHook</h4>
<pre>public&nbsp;void&nbsp;newRegressionTestHook(<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&nbsp;sequence)</pre>
<div class="block">Take action based on the given <a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence"><code>Sequence</code></a> that was classified as a regression test.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../randoop/generation/AbstractGenerator.html#newRegressionTestHook-randoop.sequence.Sequence-">newRegressionTestHook</a></code>&nbsp;in class&nbsp;<code><a href="../../randoop/generation/AbstractGenerator.html" title="class in randoop.generation">AbstractGenerator</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>sequence</code> - the new sequence that was classified as a regression test</dd>
</dl>
</li>
</ul>
<a name="initializeRuntimePrimitivesSeen--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initializeRuntimePrimitivesSeen</h4>
<pre>private&nbsp;void&nbsp;initializeRuntimePrimitivesSeen()</pre>
<div class="block">The runtimePrimitivesSeen set contains primitive values seen during generation/execution and is
 used to determine new values that should be added to the component set. The component set
 initially contains a set of primitive sequences; this method puts those primitives in this set.</div>
</li>
</ul>
<a name="step--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>step</h4>
<pre>public&nbsp;<a href="../../randoop/sequence/ExecutableSequence.html" title="class in randoop.sequence">ExecutableSequence</a>&nbsp;step()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../randoop/generation/AbstractGenerator.html#step--">AbstractGenerator</a></code></span></div>
<div class="block">Attempt to generate a test (a sequence).</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../randoop/generation/AbstractGenerator.html#step--">step</a></code>&nbsp;in class&nbsp;<code><a href="../../randoop/generation/AbstractGenerator.html" title="class in randoop.generation">AbstractGenerator</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a test sequence, may be null</dd>
</dl>
</li>
</ul>
<a name="getAllSequences--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllSequences</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/LinkedHashSet.html?is-external=true" title="class or interface in java.util">LinkedHashSet</a>&lt;<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&gt;&nbsp;getAllSequences()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../randoop/generation/AbstractGenerator.html#getAllSequences--">AbstractGenerator</a></code></span></div>
<div class="block">Return all sequences generated by this object.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../randoop/generation/AbstractGenerator.html#getAllSequences--">getAllSequences</a></code>&nbsp;in class&nbsp;<code><a href="../../randoop/generation/AbstractGenerator.html" title="class in randoop.generation">AbstractGenerator</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>return all generated sequences</dd>
</dl>
</li>
</ul>
<a name="determineActiveIndices-randoop.sequence.ExecutableSequence-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>determineActiveIndices</h4>
<pre>private&nbsp;void&nbsp;determineActiveIndices(<a href="../../randoop/sequence/ExecutableSequence.html" title="class in randoop.sequence">ExecutableSequence</a>&nbsp;seq)</pre>
<div class="block">Determines what indices in the given sequence are active. An active index i means that the i-th
 method call creates an interesting/useful value that can be used as an input to a larger
 sequence; inactive indices are never used as inputs. The effect of setting active/inactive
 indices is that the SequenceCollection to which the given sequences is added only considers the
 active indices when deciding whether the sequence creates values of a given type.

 <p>In addition to determining active indices, this method determines if any primitive values
 created during execution of the sequence are new values not encountered before. Such values are
 added to the component manager so they can be used during subsequent generation attempts.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>seq</code> - the sequence</dd>
</dl>
</li>
</ul>
<a name="createNewUniqueSequence--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createNewUniqueSequence</h4>
<pre>private&nbsp;<a href="../../randoop/sequence/ExecutableSequence.html" title="class in randoop.sequence">ExecutableSequence</a>&nbsp;createNewUniqueSequence()</pre>
<div class="block">Tries to create a new sequence. If the sequence is new (not already in the specified component
 manager), then it is added to the manager's sequences.

 <p>This method returns null if:

 <ul>
   <li>it selects an operation but cannot generate inputs for the operation
   <li>it creates too large a method
   <li>it creates a duplicate sequence
 </ul>

 This method modifies the list of operations that represent the set of methods under tests.
 Specifically, if the selected operation used for creating a new and unique sequence is a
 parameterless operation (a static constant method or no-argument constructor) it is removed
 from the list of operations. Such a method will return the same thing every time it is invoked
 (unless it's nondeterministic, but Randoop should not be run on nondeterministic methods). Once
 invoked, its result is in the pool and there is no need to call the operation again and so we
 will remove it from the list of operations.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new sequence, or null</dd>
</dl>
</li>
</ul>
<a name="repeat-randoop.sequence.Sequence-randoop.operation.TypedOperation-int-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>repeat</h4>
<pre>private&nbsp;<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&nbsp;repeat(<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&nbsp;seq,
                        <a href="../../randoop/operation/TypedOperation.html" title="class in randoop.operation">TypedOperation</a>&nbsp;operation,
                        int&nbsp;times)</pre>
<div class="block">Adds the given operation to a new <code>Sequence</code> with the statements of this object as a
 prefix, repeating the operation the given number of times. Used during generation.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>seq</code> - the sequence to extend</dd>
<dd><code>operation</code> - the <a href="../../randoop/operation/TypedOperation.html" title="class in randoop.operation"><code>TypedOperation</code></a> to repeat</dd>
<dd><code>times</code> - the number of times to repeat the <a href="../../randoop/operation/Operation.html" title="interface in randoop.operation"><code>Operation</code></a></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <code>Sequence</code></dd>
</dl>
</li>
</ul>
<a name="randoopConsistencyTest2-randoop.sequence.Sequence-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>randoopConsistencyTest2</h4>
<pre>private&nbsp;void&nbsp;randoopConsistencyTest2(<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&nbsp;newSequence)</pre>
</li>
</ul>
<a name="randoopConsistencyTests-randoop.sequence.Sequence-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>randoopConsistencyTests</h4>
<pre>private&nbsp;void&nbsp;randoopConsistencyTests(<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&nbsp;newSequence)</pre>
</li>
</ul>
<a name="selectInputs-randoop.operation.TypedOperation-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>selectInputs</h4>
<pre>private&nbsp;<a href="../../randoop/generation/InputsAndSuccessFlag.html" title="class in randoop.generation">InputsAndSuccessFlag</a>&nbsp;selectInputs(<a href="../../randoop/operation/TypedOperation.html" title="class in randoop.operation">TypedOperation</a>&nbsp;operation)</pre>
<div class="block">This method is responsible for doing two things:

 <ol>
   <li>Selecting at random a collection of sequences that can be used to create input values for
       the given statement, and
   <li>Selecting at random valid indices to the above sequence specifying the values to be used
       as input to the statement.
 </ol>

 <p>The selected sequences and indices are wrapped in an InputsAndSuccessFlag object and
 returned. If an appropriate collection of sequences and indices was not found (e.g. because
 there are no sequences in the componentManager that create values of some type required by the
 statement), the success flag of the returned object is false.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>operation</code> - the statement to analyze</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the selected sequences and indices</dd>
</dl>
</li>
</ul>
<a name="randomVariable-randoop.util.SimpleList-randoop.types.Type-boolean-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>randomVariable</h4>
<pre><a href="../../randoop/generation/ForwardGenerator.VarAndSeq.html" title="class in randoop.generation">ForwardGenerator.VarAndSeq</a>&nbsp;randomVariable(<a href="../../randoop/util/SimpleList.html" title="interface in randoop.util">SimpleList</a>&lt;<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&gt;&nbsp;candidates,
                                          <a href="../../randoop/types/Type.html" title="class in randoop.types">Type</a>&nbsp;inputType,
                                          boolean&nbsp;isReceiver)</pre>
<div class="block">Return a variable of the given type.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>candidates</code> - the list to choose from (I think?)</dd>
<dd><code>inputType</code> - the type of the chosen variable/sequence</dd>
<dd><code>isReceiver</code> - whether the value will be used as a receiver</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a random variable of the given type, chosen from the candidates</dd>
</dl>
</li>
</ul>
<a name="getSubsumedSequences--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSubsumedSequences</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&gt;&nbsp;getSubsumedSequences()</pre>
<div class="block">Returns the set of sequences that are included in other sequences to generate inputs (and, so,
 are subsumed by another sequence).</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../randoop/generation/AbstractGenerator.html#getSubsumedSequences--">getSubsumedSequences</a></code>&nbsp;in class&nbsp;<code><a href="../../randoop/generation/AbstractGenerator.html" title="class in randoop.generation">AbstractGenerator</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the set of sequences subsumed by other sequences</dd>
</dl>
</li>
</ul>
<a name="numGeneratedSequences--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>numGeneratedSequences</h4>
<pre>public&nbsp;int&nbsp;numGeneratedSequences()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../randoop/generation/AbstractGenerator.html#numGeneratedSequences--">AbstractGenerator</a></code></span></div>
<div class="block">Returns the count of sequences generated so far by the generator.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../randoop/generation/AbstractGenerator.html#numGeneratedSequences--">numGeneratedSequences</a></code>&nbsp;in class&nbsp;<code><a href="../../randoop/generation/AbstractGenerator.html" title="class in randoop.generation">AbstractGenerator</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the number of sequences generated</dd>
</dl>
</li>
</ul>
<a name="toString--">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../randoop/generation/EverythingIsDifferentMatcher.html" title="class in randoop.generation"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../randoop/generation/ForwardGenerator.VarAndSeq.html" title="class in randoop.generation"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?randoop/generation/ForwardGenerator.html" target="_top">Frames</a></li>
<li><a href="ForwardGenerator.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
